home *** CD-ROM | disk | FTP | other *** search
/ Amiga Collections: Amiga Amateur Radio User Group / AARUG UK #17 (199x)(Amiga Amateur Radio User Group UK)(PD)[WB][G4DCV].zip / AARUG UK #17 (199x)(Amiga Amateur Radio User Group UK)(PD)[WB][G4DCV].adf / RFC822 < prev    next >
Text File  |  1989-05-08  |  97KB  |  2,181 lines

  1.  
  2.      RFC #822
  3.  
  4.  
  5.      Standard for ARPA Internet Text Messages
  6.  
  7.  
  8.                                   PREFACE
  9.  
  10.  
  11.           By 1977, the Arpanet employed several informal standards for
  12.      the  text  messages (mail) sent among its host computers.  It was
  13.      felt necessary to codify these practices and  provide  for  those
  14.      features  that  seemed  imminent.   The result of that effort was
  15.      Request for Comments (RFC) #733, "Standard for the Format of ARPA
  16.      Network Text Message", by Crocker, Vittal, Pogran, and Henderson.
  17.      The specification attempted to avoid major  changes  in  existing
  18.      software, while permitting several new features.
  19.  
  20.           This document revises the specifications  in  RFC  #733,  in
  21.      order  to  serve  the  needs  of the larger and more complex ARPA
  22.      Internet.  Some of RFC #733's features failed  to  gain  adequate
  23.      acceptance.   In  order to simplify the standard and the software
  24.      that follows it, these features have been removed.   A  different
  25.      addressing  scheme  is  used, to handle the case of inter-network
  26.      mail; and the concept of re-transmission has been introduced.
  27.  
  28.           This specification is intended for use in the ARPA Internet.
  29.      However, an attempt has been made to free it of any dependence on
  30.      that environment, so that it can be applied to other network text
  31.      message systems.
  32.  
  33.           The specification of RFC #733 took place over the course  of
  34.      one  year, using the ARPANET mail environment, itself, to provide
  35.      an on-going forum for discussing the capabilities to be included.
  36.      More  than  twenty individuals, from across the country, partici-
  37.      pated in  the  original  discussion.   The  development  of  this
  38.      revised specification has, similarly, utilized network mail-based
  39.      group discussion.  Both specification efforts  greatly  benefited
  40.      from the comments and ideas of the participants.
  41.  
  42.           The syntax of the standard,  in  RFC  #733,  was  originally
  43.      specified  in  the  Backus-Naur Form (BNF) meta-language.  Ken L.
  44.      Harrenstien, of SRI International, was responsible for  re-coding
  45.      the  BNF  into  an  augmented  BNF  that makes the representation
  46.      smaller and easier to understand.
  47.  
  48.  
  49.      1.  INTRODUCTION
  50.  
  51.      1.1.  Scope
  52.  
  53.           This standard specifies a syntax for text messages that  are
  54.      sent  among  computer  users, within the framework of "electronic
  55.      mail".  The standard supersedes  the  one  specified  in  ARPANET
  56.      Request  for Comments #733, "Standard for the Format of ARPA Net-
  57.      work Text Messages".
  58.  
  59.           In this context, messages are viewed as having  an  envelope
  60.      and  contents.   The  envelope  contains  whatever information is
  61.      needed to accomplish transmission  and  delivery.   The  contents
  62.      compose  the object to be delivered to the recipient.  This stan-
  63.      dard applies only to the format and some of the semantics of mes-
  64.      sage  contents.   It contains no specification of the information
  65.      in the envelope.
  66.  
  67.           However, some message systems may use information  from  the
  68.      contents  to create the envelope.  It is intended that this stan-
  69.      dard facilitate the acquisition of such information by programs.
  70.  
  71.           Some message systems may  store  messages  in  formats  that
  72.      differ  from the one specified in this standard.  This specifica-
  73.      tion is intended strictly as a definition of what message content
  74.      format is to be passed between hosts.
  75.  
  76.      Note:  This standard is not intended to dictate the internal for-
  77.             mats  used  by sites, the specific message system features
  78.             that they are expected to support, or any of  the  charac-
  79.             teristics  of  user interface programs that create or read
  80.             messages.
  81.  
  82.           A distinction should be made between what the  specification
  83.      requires  and  what  it allows.  Messages can be made complex and
  84.      rich with formally-structured components of information or can be
  85.      kept small and simple, with a minimum of such information.  Also,
  86.      the standard simplifies the interpretation  of  differing  visual
  87.      formats  in  messages;  only  the  visual  aspect of a message is
  88.      affected and not the interpretation  of  information  within  it.
  89.      Implementors may choose to retain such visual distinctions.
  90.  
  91.           The formal definition is divided into four levels.  The bot-
  92.      tom level describes the meta-notation used in this document.  The
  93.      second level describes basic lexical analyzers that  feed  tokens
  94.      to  higher-level  parsers.   Next is an overall specification for
  95.      messages; it permits distinguishing individual fields.   Finally,
  96.      there is definition of the contents of several structured fields.
  97.  
  98.  
  99.      1.2.  Communication Framework
  100.  
  101.           Messages consist of lines of text.   No  special  provisions
  102.      are  made for encoding drawings, facsimile, speech, or structured
  103.      text.  No significant consideration has been given  to  questions
  104.      of  data  compression  or to transmission and storage efficiency,
  105.      and the standard tends to be free with the number  of  bits  con-
  106.      sumed.   For  example,  field  names  are specified as free text,
  107.      rather than special terse codes.
  108.  
  109.           A general "memo" framework is used.  That is, a message con-
  110.      sists of some information in a rigid format, followed by the main
  111.      part of the message, with a format that is not specified in  this
  112.      document.   The  syntax of several fields of the rigidly-formated
  113.      ("headers") section is defined in  this  specification;  some  of
  114.      these fields must be included in all messages.
  115.  
  116.           The syntax  that  distinguishes  between  header  fields  is
  117.      specified  separately  from  the  internal  syntax for particular
  118.      fields.  This separation is intended to allow simple  parsers  to
  119.      operate on the general structure of messages, without concern for
  120.      the detailed structure of individual header fields.   Appendix  B
  121.      is provided to facilitate construction of these parsers.
  122.  
  123.           In addition to the fields specified in this document, it  is
  124.      expected  that  other fields will gain common use.  As necessary,
  125.      the specifications for these "extension-fields" will be published
  126.      through  the same mechanism used to publish this document.  Users
  127.      may also  wish  to  extend  the  set  of  fields  that  they  use
  128.      privately.  Such "user-defined fields" are permitted.
  129.  
  130.           The framework severely constrains document tone and  appear-
  131.      ance and is primarily useful for most intra-organization communi-
  132.      cations and  well-structured   inter-organization  communication.
  133.      It  also  can  be used for some types of inter-process communica-
  134.      tion, such as simple file transfer and remote job entry.  A  more
  135.      robust  framework might allow for multi-font, multi-color, multi-
  136.      dimension encoding of information.  A  less  robust  one,  as  is
  137.      present  in  most  single-machine  message  systems,  would  more
  138.      severely constrain the ability to add fields and the decision  to
  139.      include specific fields.  In contrast with paper-based communica-
  140.      tion, it is interesting to note that the receiver  of  a  message
  141.      can   exercise  an  extraordinary  amount  of  control  over  the
  142.      message's appearance.  The amount of actual control available  to
  143.      message  receivers  is  contingent upon the capabilities of their
  144.      individual message systems.
  145.  
  146.  
  147.      2.  NOTATIONAL CONVENTIONS
  148.  
  149.           This specification uses an augmented Backus-Naur Form  (BNF)
  150.      notation.  The differences from standard BNF involve naming rules
  151.      and indicating repetition and "local" alternatives.
  152.  
  153.      2.1.  Rule naming
  154.  
  155.           Angle brackets ("<", ">") are not  used,  in  general.   The
  156.      name  of  a rule is simply the name itself, rather than "<name>".
  157.      Quotation-marks enclose literal text (which may be  upper  and/or
  158.      lower  case).   Certain  basic  rules  are  in uppercase, such as
  159.      SPACE, TAB, CRLF, DIGIT, ALPHA, etc.  Angle brackets are used  in
  160.      rule  definitions,  and  in  the rest of this  document, whenever
  161.      their presence will facilitate discerning the use of rule names.
  162.  
  163.      2.2.  Rule1 / Rule2:  Alternatives
  164.  
  165.           Elements separated by slash ("/") are alternatives.   There-
  166.      fore "foo / bar" will accept foo or bar.
  167.  
  168.      2.3.  (Rule1 Rule2):  Local alternatives
  169.  
  170.           Elements enclosed in parentheses are  treated  as  a  single
  171.      element.   Thus,  "(elem  (foo  /  bar)  elem)"  allows the token
  172.      sequences "elem foo elem" and "elem bar elem".
  173.  
  174.      2.4.  *Rule:  Repetition
  175.  
  176.           The character "*" preceding an element indicates repetition.
  177.      The full form is:
  178.  
  179.                               <l>*<m>element
  180.  
  181.      indicating at least <l> and at most <m> occurrences  of  element.
  182.      Default values are 0 and infinity so that "*(element)" allows any
  183.      number, including zero; "1*element" requires at  least  one;  and
  184.      "1*2element" allows one or two.
  185.  
  186.      2.5.  [Rule]:  Optional
  187.  
  188.           Square brackets enclose optional elements; "[foo  bar]"   is
  189.      equivalent to "*1(foo bar)".
  190.  
  191.      2.6.  nRule:  Specific repetition
  192.  
  193.           "<n>(element)" is equivalent to "<n>*<n>(element)"; that is,
  194.      exactly  <n>  occurrences  of (element). Thus 2DIGIT is a 2-digit
  195.      number, and 3ALPHA is a string of three alphabetic characters.
  196.  
  197.      2.7.  #Rule:  Lists
  198.  
  199.           A construct "#" is defined, similar to "*", as follows:
  200.  
  201.                               <l>#<m>element
  202.  
  203.      indicating at least <l> and at most <m> elements, each  separated
  204.      by  one  or more commas (","). This makes the usual form of lists
  205.      very easy; a rule such as '(element *("," element))' can be shown
  206.      as  "1#element".   Wherever this construct is used, null elements
  207.      are allowed, but do not  contribute  to  the  count  of  elements
  208.      present.   That  is,  "(element),,(element)"  is  permitted,  but
  209.      counts as only two elements.  Therefore, where at least one  ele-
  210.      ment  is required, at least one non-null element must be present.
  211.      Default values are 0 and infinity so that "#(element)" allows any
  212.      number,  including  zero;  "1#element" requires at least one; and
  213.      "1#2element" allows one or two.
  214.  
  215.      2.8.  ; Comments
  216.  
  217.           A semi-colon, set off some distance to  the  right  of  rule
  218.      text,  starts  a comment that continues to the end of line.  This
  219.      is a simple way of including useful notes in  parallel  with  the
  220.      specifications.
  221.  
  222.  
  223.      3.  LEXICAL ANALYSIS OF MESSAGES
  224.  
  225.      3.1.  General Description
  226.  
  227.           A message consists of header fields and, optionally, a body.
  228.      The  body  is simply a sequence of lines containing ASCII charac-
  229.      ters.  It is separated from the headers by a null line  (i.e.,  a
  230.      line with nothing preceding the CRLF).
  231.  
  232.      3.1.1.  Long Header Fields
  233.  
  234.         Each header field can be viewed as a single, logical  line  of
  235.         ASCII  characters,  comprising  a field-name and a field-body.
  236.         For convenience, the field-body  portion  of  this  conceptual
  237.         entity  can be split into a multiple-line representation; this
  238.         is called "folding".  The general rule is that wherever  there
  239.         may  be  linear-white-space  (not  simply  LWSP-chars), a CRLF
  240.         immediately followed by at least one LWSP-char may instead  be
  241.         inserted.  Thus, the single line
  242.  
  243.             To:  "Joe & J. Harvey" <ddd @Org>, JJV @ BBN
  244.  
  245.         can be represented as:
  246.  
  247.             To:  "Joe & J. Harvey" <ddd @ Org>,
  248.                     JJV@BBN
  249.  
  250.         and
  251.  
  252.             To:  "Joe & J. Harvey"
  253.                             <ddd@ Org>, JJV
  254.              @BBN
  255.  
  256.         and
  257.  
  258.             To:  "Joe &
  259.              J. Harvey" <ddd @ Org>, JJV @ BBN
  260.  
  261.              The process of moving  from  this  folded   multiple-line
  262.         representation  of a header field to its single line represen-
  263.         tation is called "unfolding".  Unfolding  is  accomplished  by
  264.         regarding   CRLF   immediately  followed  by  a  LWSP-char  as
  265.         equivalent to the LWSP-char.
  266.  
  267.         Note:  While the standard  permits  folding  wherever  linear-
  268.                white-space is permitted, it is recommended that struc-
  269.                tured fields, such as those containing addresses, limit
  270.                folding  to higher-level syntactic breaks.  For address
  271.                fields, it  is  recommended  that  such  folding  occur
  272.  
  273.      3.1.2.  Structure of Header Fields
  274.  
  275.         Once a field has been unfolded, it may be viewed as being com-
  276.         posed of a field-name followed by a colon (":"), followed by a
  277.         field-body, and  terminated  by  a  carriage-return/line-feed.
  278.         The  field-name must be composed of printable ASCII characters
  279.         (i.e., characters that  have  values  between  33.  and  126.,
  280.         decimal, except colon).  The field-body may be composed of any
  281.         ASCII characters, except CR or LF.  (While CR and/or LF may be
  282.         present  in the actual text, they are removed by the action of
  283.         unfolding the field.)
  284.  
  285.         Certain field-bodies of headers may be  interpreted  according
  286.         to  an  internal  syntax  that some systems may wish to parse.
  287.         These  fields  are  called  "structured   fields".    Examples
  288.         include  fields containing dates and addresses.  Other fields,
  289.         such as "Subject"  and  "Comments",  are  regarded  simply  as
  290.         strings of text.
  291.  
  292.         Note:  Any field which has a field-body  that  is  defined  as
  293.                other  than  simply <text> is to be treated as a struc-
  294.                tured field.
  295.  
  296.                Field-names, unstructured field bodies  and  structured
  297.                field bodies each are scanned by their own, independent
  298.                "lexical" analyzers.
  299.  
  300.      3.1.3.  Unstructured Field Bodies
  301.  
  302.         For some fields, such as "Subject" and "Comments",  no  struc-
  303.         turing  is assumed, and they are treated simply as <text>s, as
  304.         in the message body.  Rules of folding apply to these  fields,
  305.         so  that  such  field  bodies  which occupy several lines must
  306.         therefore have the second and successive lines indented by  at
  307.         least one LWSP-char.
  308.  
  309.      3.1.4.  Structured Field Bodies
  310.  
  311.         To aid in the creation and reading of structured  fields,  the
  312.         free  insertion   of linear-white-space (which permits folding
  313.         by inclusion of CRLFs)  is  allowed  between  lexical  tokens.
  314.         Rather  than  obscuring  the  syntax  specifications for these
  315.         structured fields with explicit syntax for this  linear-white-
  316.         space, the existence of another "lexical" analyzer is assumed.
  317.         This analyzer does not apply  for  unstructured  field  bodies
  318.         that  are  simply  strings  of  text, as described above.  The
  319.         analyzer provides  an  interpretation  of  the  unfolded  text
  320.         composing  the body of the field as a sequence of lexical sym-
  321.         bols.
  322.  
  323.         These symbols are:
  324.  
  325.                      -  individual special characters
  326.                      -  quoted-strings
  327.                      -  domain-literals
  328.                      -  comments
  329.                      -  atoms
  330.  
  331.         The first four of these symbols  are  self-delimiting.   Atoms
  332.         are not; they are delimited by the self-delimiting symbols and
  333.         by  linear-white-space.   For  the  purposes  of  regenerating
  334.         sequences  of  atoms  and quoted-strings, exactly one SPACE is
  335.         assumed to exist, and should be used, between them.  (Also, in
  336.         the "Clarifications" section on "White Space", below, note the
  337.         rules about treatment of multiple contiguous LWSP-chars.)
  338.  
  339.         So, for example, the folded body of an address field
  340.  
  341.             ":sysmail"@  Some-Group. Some-Org,
  342.             Muhammed.(I am  the greatest) Ali @(the)Vegas.WBA
  343.  
  344.         is analyzed into the following lexical symbols and types:
  345.  
  346.                     :sysmail              quoted string
  347.                     @                     special
  348.                     Some-Group            atom
  349.                     .                     special
  350.                     Some-Org              atom
  351.                     ,                     special
  352.                     Muhammed              atom
  353.                     .                     special
  354.                     (I am  the greatest)  comment
  355.                     Ali                   atom
  356.                     @                     atom
  357.                     (the)                 comment
  358.                     Vegas                 atom
  359.                     .                     special
  360.                     WBA                   atom
  361.  
  362.         The canonical representations for the data in these  addresses
  363.         are the following strings:
  364.  
  365.                         ":sysmail"@Some-Group.Some-Org
  366.  
  367.         and
  368.  
  369.                             Muhammed.Ali@Vegas.WBA
  370.  
  371.         Note:  For purposes of display, and when passing  such  struc-
  372.                tured information to other systems, such as mail proto-
  373.                col  services,  there  must  be  no  linear-white-space
  374.                between  <word>s  that are separated by period (".") or
  375.                at-sign ("@") and exactly one SPACE between  all  other
  376.                <word>s.  Also, headers should be in a folded form.
  377.  
  378.      3.2.  Header Field Definitions
  379.  
  380.           These rules show a field meta-syntax, without regard for the
  381.      particular  type  or internal syntax.  Their purpose is to permit
  382.      detection of fields; also, they present to  higher-level  parsers
  383.      an image of each field as fitting on one line.
  384.  
  385.      field       =  field-name ":" [ field-body ] CRLF
  386.  
  387.      field-name  =  1*<any CHAR, excluding CTLs, SPACE, and ":">
  388.  
  389.      field-body  =  field-body-contents
  390.                     [CRLF LWSP-char field-body]
  391.  
  392.      field-body-contents =
  393.                    <the ASCII characters making up the field-body, as
  394.                     defined in the following sections, and consisting
  395.                     of combinations of atom, quoted-string, and
  396.                     specials tokens, or else consisting of texts>
  397.  
  398.      3.3.  Lexical Tokens
  399.  
  400.           The following rules are used to define an underlying lexical
  401.      analyzer,  which  feeds  tokens to higher level parsers.  See the
  402.      ANSI references, in the Bibliography.
  403.  
  404.                                                  ; (  Octal, Decimal.)
  405.      CHAR        =  <any ASCII character>        ; (  0-177,  0.-127.)
  406.      ALPHA       =  <any ASCII alphabetic character>
  407.                                                  ; (101-132, 65.- 90.)
  408.                                                  ; (141-172, 97.-122.)
  409.      DIGIT       =  <any ASCII decimal digit>    ; ( 60- 71, 48.- 57.)
  410.      CTL         =  <any ASCII control           ; (  0- 37,  0.- 31.)
  411.                      character and DEL>          ; (    177,     127.)
  412.      CR          =  <ASCII CR, carriage return>  ; (     15,      13.)
  413.      LF          =  <ASCII LF, linefeed>         ; (     12,      10.)
  414.      SPACE       =  <ASCII SP, space>            ; (     40,      32.)
  415.      HTAB        =  <ASCII HT, horizontal-tab>   ; (     11,       9.)
  416.      <">         =  <ASCII quote mark>           ; (     42,      34.)
  417.      CRLF        =  CR LF
  418.  
  419.      LWSP-char   =  SPACE / HTAB                 ; semantics = SPACE
  420.  
  421.      linear-white-space =  1*([CRLF] LWSP-char)  ; semantics = SPACE
  422.                                                  ; CRLF => folding
  423.  
  424.      specials    =  "(" / ")" / "<" / ">" / "@"  ; Must be in quoted-
  425.                  /  "," / ";" / ":" / "\" / <">  ;  string, to use
  426.                  /  "." / "[" / "]"              ;  within a word.
  427.  
  428.      delimiters  =  specials / linear-white-space / comment
  429.  
  430.      text        =  <any CHAR, including bare    ; => atoms, specials,
  431.                      CR & bare LF, but NOT       ;  comments and
  432.                      including CRLF>             ;  quoted-strings are
  433.                                                  ;  NOT recognized.
  434.  
  435.      atom        =  1*<any CHAR except specials, SPACE and CTLs>
  436.  
  437.      quoted-string = <"> *(qtext/quoted-pair) <">; Regular qtext or
  438.                                                  ;   quoted chars.
  439.  
  440.      qtext       =  <any CHAR excepting <">,     ; => may be folded
  441.                      "\" & CR, and including
  442.                      linear-white-space>
  443.  
  444.      domain-literal =  "[" *(dtext / quoted-pair) "]"
  445.  
  446.      dtext       =  <any CHAR excluding "[",     ; => may be folded
  447.                      "]", "\" & CR, & including
  448.                      linear-white-space>
  449.  
  450.      comment     =  "(" *(ctext / quoted-pair / comment) ")"
  451.  
  452.      ctext       =  <any CHAR excluding "(",     ; => may be folded
  453.                      ")", "\" & CR, & including
  454.                      linear-white-space>
  455.  
  456.      quoted-pair =  "\" CHAR                     ; may quote any char
  457.  
  458.      phrase      =  1*word                       ; Sequence of words
  459.  
  460.      word        =  atom / quoted-string
  461.  
  462.  
  463.      3.4.  Clarifications
  464.  
  465.      3.4.1.  Quoting
  466.  
  467.         Some characters are reserved for special interpretation,  such
  468.         as  delimiting lexical tokens.  To permit use of these charac-
  469.         ters as uninterpreted data, a quoting mechanism  is  provided.
  470.         To quote a character, precede it with a backslash ("\").
  471.  
  472.         This mechanism is not fully general.  Characters may be quoted
  473.         only  within  a subset of the lexical constructs.  In particu-
  474.         lar, quoting is limited to use within:
  475.  
  476.                              -  quoted-string
  477.                              -  domain-literal
  478.                              -  comment
  479.  
  480.         Within these constructs, quoting is required for  CR  and  "\"
  481.         and for the character(s) that delimit the token (e.g., "(" and
  482.         ")" for a comment).  However, quoting  is  permitted  for  any
  483.         character.
  484.  
  485.         Note:  In particular, quoting is not permitted  within  atoms.
  486.                For  example  when  the local-part of an addr-spec must
  487.                contain a special character, a quoted  string  must  be
  488.                used.  Therefore, a specification such as:
  489.  
  490.                             Full\ Name@Domain
  491.  
  492.                is not legal and must be specified as:
  493.  
  494.                             "Full Name"@Domain
  495.  
  496.  
  497.      3.4.2.  White Space
  498.  
  499.         Note:  In structured field bodies, multiple linear space ASCII
  500.                characters  (namely  HTABs  and  SPACEs) are treated as
  501.                single spaces and may freely surround any  symbol.   In
  502.                all header fields, the only place in which at least one
  503.                LWSP-char is required is at the beginning of  continua-
  504.                tion lines in a folded field.
  505.  
  506.         When passing text to processes  that  do  not  interpret  text
  507.         according to this standard (e.g., mail protocol servers), then
  508.         no linear-white-space characters should occur between a period
  509.         (".") or at-sign ("@") and a <word>.  Exactly one SPACE should
  510.         be used in place of arbitrary linear-white-space  and  comment
  511.         sequences.
  512.  
  513.         Note:  Within systems conforming to this standard, wherever  a
  514.                member of the list of delimiters is allowed, LWSP-chars
  515.                may also occur before and/or after it.
  516.  
  517.         Writers of  mail-sending  (i.e.,  header-generating)  programs
  518.         should realize that there is no network-wide definition of the
  519.         effect of ASCII HT (horizontal-tab) characters on the  appear-
  520.         ance  of  text  at another network host; therefore, the use of
  521.         tabs in message headers, though permitted, is discouraged.
  522.  
  523.      3.4.3.  Comments
  524.  
  525.         A comment is a set of ASCII characters, which is  enclosed  in
  526.         matching  parentheses  and which is not within a quoted-string
  527.         The comment construct permits message originators to add  text
  528.         which  will  be  useful  for  human readers, but which will be
  529.         ignored by the formal semantics.  Comments should be  retained
  530.         while  the  message  is subject to interpretation according to
  531.         this standard.  However, comments  must  not  be  included  in
  532.         other  cases,  such  as  during  protocol  exchanges with mail
  533.         servers.
  534.  
  535.         Comments nest, so that if an unquoted left parenthesis  occurs
  536.         in  a  comment  string,  there  must  also be a matching right
  537.         parenthesis.  When a comment acts as the delimiter  between  a
  538.         sequence of two lexical symbols, such as two atoms, it is lex-
  539.         ically equivalent with a single SPACE,  for  the  purposes  of
  540.         regenerating  the  sequence, such as when passing the sequence
  541.         onto a mail protocol server.  Comments are  detected  as  such
  542.         only within field-bodies of structured fields.
  543.  
  544.         If a comment is to be "folded" onto multiple lines,  then  the
  545.         syntax  for  folding  must  be  adhered to.  (See the "Lexical
  546.         Analysis of Messages" section on "Folding Long Header  Fields"
  547.         above,  and  the  section on "Case Independence" below.)  Note
  548.         that  the  official  semantics  therefore  do  not  "see"  any
  549.         unquoted CRLFs that are in comments, although particular pars-
  550.         ing programs may wish to note their presence.  For these  pro-
  551.         grams,  it would be reasonable to interpret a "CRLF LWSP-char"
  552.         as being a CRLF that is part of the comment; i.e., the CRLF is
  553.         kept  and  the  LWSP-char is discarded.  Quoted CRLFs (i.e., a
  554.         backslash followed by a CR followed by a  LF)  still  must  be
  555.         followed by at least one LWSP-char.
  556.  
  557.      3.4.4.  Delimiting and Quoting Characters
  558.  
  559.         The quote character (backslash) and  characters  that  delimit
  560.         syntactic  units  are not, generally, to be taken as data that
  561.         are part of the delimited or quoted unit(s).   In  particular,
  562.         the   quotation-marks   that   define   a  quoted-string,  the
  563.         parentheses that define  a  comment  and  the  backslash  that
  564.         quotes  a  following  character  are  not  part of the quoted-
  565.         string, comment or quoted character.  A quotation-mark that is
  566.         to  be  part  of  a quoted-string, a parenthesis that is to be
  567.         part of a comment and a backslash that is to be part of either
  568.         must  each be preceded by the quote-character backslash ("\").
  569.         Note that the syntax allows any character to be quoted  within
  570.         a  quoted-string  or  comment; however only certain characters
  571.         must be quoted to be included as data.  These  characters  are
  572.         the  ones that are not part of the alternate text group (i.e.,
  573.         ctext or qtext).
  574.  
  575.         The one exception to this rule  is  that  a  single  SPACE  is
  576.         assumed  to  exist  between  contiguous words in a phrase, and
  577.         this interpretation is independent of  the  actual  number  of
  578.         LWSP-chars  that  the  creator  places  between the words.  To
  579.         include more than one SPACE, the creator must make  the  LWSP-
  580.         chars be part of a quoted-string.
  581.  
  582.         Quotation marks that delimit a quoted string  and  backslashes
  583.         that  quote  the  following character should not accompany the
  584.         quoted-string when the string is passed to processes  that  do
  585.         not interpret data according to this specification (e.g., mail
  586.         protocol servers).
  587.  
  588.      3.4.5.  Quoted-strings
  589.  
  590.         Where permitted (i.e., in words in structured fields)  quoted-
  591.         strings  are  treated  as a single symbol.  That is, a quoted-
  592.         string is equivalent to an atom, syntactically.  If a  quoted-
  593.         string  is to be "folded" onto multiple lines, then the syntax
  594.         for folding must be adhered to.  (See the "Lexical Analysis of
  595.         Messages"  section  on "Folding Long Header Fields" above, and
  596.         the section on "Case  Independence"  below.)   Therefore,  the
  597.         official  semantics  do  not  "see" any bare CRLFs that are in
  598.         quoted-strings; however particular parsing programs  may  wish
  599.         to  note  their presence.  For such programs, it would be rea-
  600.         sonable to interpret a "CRLF LWSP-char" as being a CRLF  which
  601.         is  part  of the quoted-string; i.e., the CRLF is kept and the
  602.         LWSP-char is discarded.  Quoted CRLFs (i.e., a backslash  fol-
  603.         lowed  by  a CR followed by a LF) are also subject to rules of
  604.         folding, but the presence of the quoting character (backslash)
  605.         explicitly  indicates  that  the  CRLF  is  data to the quoted
  606.         string.  Stripping off the first following LWSP-char  is  also
  607.         appropriate when parsing quoted CRLFs.
  608.  
  609.      3.4.6.  Bracketing Characters
  610.  
  611.         There is one type of bracket which must occur in matched pairs
  612.         and may have pairs nested within each other:
  613.  
  614.             o   Parentheses ("(" and ")") are used  to  indicate  com-
  615.                 ments.
  616.  
  617.         There are three types of brackets which must occur in  matched
  618.         pairs, and which may not be nested:
  619.  
  620.             o   Colon/semi-colon (":" and ";") are   used  in  address
  621.                 specifications  to  indicate that the included list of
  622.                 addresses are to be treated as a group.
  623.  
  624.             o   Angle brackets ("<" and ">")  are  generally  used  to
  625.                 indicate  the  presence of a one machine-usable refer-
  626.                 ence (e.g., delimiting mailboxes), possibly  including
  627.                 source-routing to the machine.
  628.  
  629.             o   Square brackets ("[" and "]") are used to indicate the
  630.                 presence  of  a  domain-literal, which the appropriate
  631.                 name-domain  is  to  use  directly,  bypassing  normal
  632.                 name-resolution mechanisms.
  633.  
  634.      3.4.7.  Case Independence
  635.  
  636.         Except as noted, alphabetic strings may be represented in  any
  637.         combination of upper and lower case.  The only syntactic units
  638.         which requires preservation of case information are:
  639.  
  640.                     -  text
  641.                     -  qtext
  642.                     -  dtext
  643.                     -  ctext
  644.                     -  quoted-pair
  645.                     -  local-part, except "Postmaster"
  646.  
  647.         When matching any other syntactic unit, case is to be ignored.
  648.         For  example, the field-names "From", "FROM", "from", and even
  649.         "FroM" are semantically equal and should all be treated ident-
  650.         ically.
  651.  
  652.         When generating these units, any mix of upper and  lower  case
  653.         alphabetic  characters  may  be  used.  The case shown in this
  654.         specification is suggested for message-creating processes.
  655.  
  656.         Note:  The reserved local-part address unit, "Postmaster",  is
  657.                an  exception.   When  the  value "Postmaster" is being
  658.                interpreted, it must be  accepted  in  any  mixture  of
  659.                case, including "POSTMASTER", and "postmaster".
  660.  
  661.      3.4.8.  Folding Long Header Fields
  662.  
  663.         Each header field may be represented on exactly one line  con-
  664.         sisting  of the name of the field and its body, and terminated
  665.         by a CRLF; this is what the parser sees.  For readability, the
  666.         field-body  portion of long header fields may be "folded" onto
  667.         multiple lines of the actual field.  "Long" is commonly inter-
  668.         preted  to  mean greater than 65 or 72 characters.  The former
  669.         length serves as a limit, when the message is to be viewed  on
  670.         most  simple terminals which use simple display software; how-
  671.         ever, the limit is not imposed by this standard.
  672.  
  673.         Note:  Some display software often can selectively fold lines,
  674.                to  suit  the display terminal.  In such cases, sender-
  675.                provided  folding  can  interfere  with   the   display
  676.                software.
  677.  
  678.      3.4.9.  Backspace Characters
  679.  
  680.         ASCII BS characters (Backspace, decimal 8) may be included  in
  681.         texts and quoted-strings to effect overstriking.  However, any
  682.         use of backspaces which effects an overstrike to the  left  of
  683.         the beginning of the text or quoted-string is prohibited.
  684.  
  685.      3.4.10.  Network-specific Transformations
  686.  
  687.         During transmission through heterogeneous networks, it may  be
  688.         necessary  to  force data to conform to a network's local con-
  689.         ventions.  For example, it may be required that a CR  be  fol-
  690.         lowed  either by LF, making a CRLF, or by <null>, if the CR is
  691.         to stand alone).  Such transformations are reversed, when  the
  692.         message exits that network.
  693.  
  694.         When  crossing  network  boundaries,  the  message  should  be
  695.         treated  as  passing  through  two modules.  It will enter the
  696.         first module containing whatever network-specific  transforma-
  697.         tions  that  were  necessary  to  permit migration through the
  698.         "current" network.  It then passes through the modules:
  699.  
  700.             o   Transformation Reversal
  701.  
  702.                 The "current" network's idiosyncracies are removed and
  703.                 the  message  is returned to the canonical form speci-
  704.                 fied in this standard.
  705.  
  706.             o   Transformation
  707.  
  708.                 The "next" network's local idiosyncracies are  imposed
  709.                 on the message.
  710.  
  711.                                 ------------------
  712.                     >From  ==>  | Remove Net-A   |
  713.                     Net-A       | idiosyncracies |
  714.                                 ------------------
  715.                                        ||
  716.                                        \/
  717.                                   Conformance
  718.                                   with standard
  719.                                        ||
  720.                                        \/
  721.                                 ------------------
  722.                                 | Impose Net-B   |  ==>  To
  723.                                 | idiosyncracies |       Net-B
  724.                                 ------------------
  725.  
  726.  
  727.      4.  MESSAGE SPECIFICATION
  728.  
  729.      4.1.  Syntax
  730.  
  731.      Note:  Due to an artifact of the notational conventions, the syn-
  732.             tax  indicates that, when present, some fields, must be in
  733.             a particular order.  Header fields  are  not  required  to
  734.             occur  in  any  particular  order, except that the message
  735.             body must occur after  the  headers.   It  is  recommended
  736.             that,  if  present,  headers be sent in the order "Return-
  737.             Path", "Received", "Date",  "From",  "Subject",  "Sender",
  738.             "To", "cc", etc.
  739.  
  740.             This specification permits multiple  occurrences  of  most
  741.             fields.   Except  as  noted,  their  interpretation is not
  742.             specified here, and their use is discouraged.
  743.  
  744.           The following syntax for the bodies of various fields should
  745.      be  thought  of  as  describing  each field body as a single long
  746.      string (or line).  The "Lexical Analysis of Message"  section  on
  747.      "Long  Header Fields", above, indicates how such long strings can
  748.      be represented on more than one line in  the  actual  transmitted
  749.      message.
  750.  
  751.      message     =  fields *( CRLF *text )       ; Everything after
  752.                                                  ;  first null line
  753.                                                  ;  is message body
  754.  
  755.      fields      =    dates                      ; Creation time,
  756.                       source                     ;  author id & one
  757.                     1*destination                ;  address required
  758.                      *optional-field             ;  others optional
  759.  
  760.      source      = [  trace ]                    ; net traversals
  761.                       originator                 ; original mail
  762.                    [  resent ]                   ; forwarded
  763.  
  764.      trace       =    return                     ; path to sender
  765.                     1*received                   ; receipt tags
  766.  
  767.      return      =  "Return-path" ":" route-addr ; return address
  768.  
  769.      received    =  "Received"    ":"            ; one per relay
  770.                        ["from" domain]           ; sending host
  771.                        ["by"   domain]           ; receiving host
  772.                        ["via"  atom]             ; physical path
  773.                       *("with" atom)             ; link/mail protocol
  774.                        ["id"   msg-id]           ; receiver msg id
  775.                        ["for"  addr-spec]        ; initial form
  776.                         ";"    date-time         ; time received
  777.  
  778.      originator  =   authentic                   ; authenticated addr
  779.                    [ "Reply-To"   ":" 1#address] )
  780.  
  781.      authentic   =   "From"       ":"   mailbox  ; Single author
  782.                  / ( "Sender"     ":"   mailbox  ; Actual submittor
  783.                      "From"       ":" 1#mailbox) ; Multiple authors
  784.                                                  ;  or not sender
  785.  
  786.      resent      =   resent-authentic
  787.                    [ "Resent-Reply-To"  ":" 1#address] )
  788.  
  789.      resent-authentic =
  790.                  =   "Resent-From"      ":"   mailbox
  791.                  / ( "Resent-Sender"    ":"   mailbox
  792.                      "Resent-From"      ":" 1#mailbox  )
  793.  
  794.      dates       =   orig-date                   ; Original
  795.                    [ resent-date ]               ; Forwarded
  796.  
  797.      orig-date   =  "Date"        ":"   date-time
  798.  
  799.      resent-date =  "Resent-Date" ":"   date-time
  800.  
  801.      destination =  "To"          ":" 1#address  ; Primary
  802.                  /  "Resent-To"   ":" 1#address
  803.                  /  "cc"          ":" 1#address  ; Secondary
  804.                  /  "Resent-cc"   ":" 1#address
  805.                  /  "bcc"         ":"  #address  ; Blind carbon
  806.                  /  "Resent-bcc"  ":"  #address
  807.  
  808.      optional-field =
  809.                  /  "Message-ID"        ":"   msg-id
  810.                  /  "Resent-Message-ID" ":"   msg-id
  811.                  /  "In-Reply-To"       ":"  *(phrase / msg-id)
  812.                  /  "References"        ":"  *(phrase / msg-id)
  813.                  /  "Keywords"          ":"  #phrase
  814.                  /  "Subject"           ":"  *text
  815.                  /  "Comments"          ":"  *text
  816.                  /  "Encrypted"         ":" 1#2word
  817.                  /  extension-field              ; To be defined
  818.                  /  user-defined-field           ; May be pre-empted
  819.  
  820.      msg-id      =  "<" addr-spec ">"            ; Unique message id
  821.  
  822.      extension-field =
  823.                    <Any field which is defined in a document
  824.                     published as a formal extension to this
  825.                     specification; none will have names beginning
  826.                     with the string "X-">
  827.  
  828.      user-defined-field =
  829.                    <Any field which has not been defined
  830.                     in this specification or published as an
  831.                     extension to this specification; names for
  832.                     such fields must be unique and may be
  833.                     pre-empted by published extensions>
  834.  
  835.      4.2.  Forwarding
  836.  
  837.           Some systems permit mail recipients to  forward  a  message,
  838.      retaining  the original headers, by adding some new fields.  This
  839.      standard supports such a service, through the "Resent-" prefix to
  840.      field names.
  841.  
  842.           Whenever the string "Resent-" begins a field name, the field
  843.      has  the  same  semantics as a field whose name does not have the
  844.      prefix.  However, the message is assumed to have  been  forwarded
  845.      by  an original recipient who attached the "Resent-" field.  This
  846.      new field is treated as being more recent  than  the  equivalent,
  847.      original  field.   For  example, the "Resent-From", indicates the
  848.      person that forwarded the message, whereas the "From" field indi-
  849.      cates the original author.
  850.  
  851.           Use of such precedence  information  depends  upon  partici-
  852.      pants'  communication needs.  For example, this standard does not
  853.      dictate when a "Resent-From:" address should receive replies,  in
  854.      lieu of sending them to the "From:" address.
  855.  
  856.      Note:  In general, the "Resent-" fields should be treated as con-
  857.             taining  a  set  of information that is independent of the
  858.             set of original fields.  Information for  one  set  should
  859.             not  automatically be taken from the other.  The interpre-
  860.             tation of multiple "Resent-" fields, of the same type,  is
  861.             undefined.
  862.  
  863.           In the remainder of this specification, occurrence of  legal
  864.      "Resent-"  fields  are treated identically with the occurrence of
  865.      fields whose names do not contain this prefix.
  866.  
  867.      4.3.  Trace Fields
  868.  
  869.           Trace information is used to provide an audit trail of  mes-
  870.      sage  handling.   In  addition,  it indicates a route back to the
  871.      sender of the message.
  872.  
  873.           The list of known "via" and  "with"  values  are  registered
  874.      with  the  Network  Information  Center, SRI International, Menlo
  875.      Park, California.
  876.  
  877.      4.3.1.  Return-Path
  878.  
  879.         This field  is  added  by  the  final  transport  system  that
  880.         delivers  the message to its recipient.  The field is intended
  881.         to contain definitive information about the address and  route
  882.         back to the message's originator.
  883.  
  884.         Note:  The "Reply-To" field is added  by  the  originator  and
  885.                serves  to  direct  replies,  whereas the "Return-Path"
  886.                field is used to identify a path back to  the  origina-
  887.                tor.
  888.  
  889.         While the syntax  indicates  that  a  route  specification  is
  890.         optional,  every attempt should be made to provide that infor-
  891.         mation in this field.
  892.  
  893.      4.3.2.  Received
  894.  
  895.         A copy of this field is added by each transport  service  that
  896.         relays the message.  The information in the field can be quite
  897.         useful for tracing transport problems.
  898.  
  899.         The names of the sending  and  receiving  hosts  and  time-of-
  900.         receipt may be specified.  The "via" parameter may be used, to
  901.         indicate what physical mechanism the message  was  sent  over,
  902.         such  as  Arpanet or Phonenet, and the "with" parameter may be
  903.         used to indicate the mail-,  or  connection-,  level  protocol
  904.         that  was  used, such as the SMTP mail protocol, or X.25 tran-
  905.         sport protocol.
  906.  
  907.         Note:  Several "with" parameters may  be  included,  to  fully
  908.                specify the set of protocols that were used.
  909.  
  910.         Some transport services queue mail; the internal message iden-
  911.         tifier that is assigned to the message may be noted, using the
  912.         "id" parameter.  When the  sending  host  uses  a  destination
  913.         address specification that the receiving host reinterprets, by
  914.         expansion or transformation, the receiving host  may  wish  to
  915.         record  the original specification, using the "for" parameter.
  916.         For example, when a copy of mail is sent to the  member  of  a
  917.         distribution  list,  this  parameter may be used to record the
  918.         original address that was used to specify the list.
  919.  
  920.      4.4.  Originator Fields
  921.  
  922.           The standard allows only a subset of the combinations possi-
  923.      ble  with the From, Sender, Reply-To, Resent-From, Resent-Sender,
  924.      and Resent-Reply-To fields.  The limitation is intentional.
  925.  
  926.      4.4.1.  From / Resent-From
  927.  
  928.         This field contains the identity of the person(s)  who  wished
  929.         this  message to be sent.  The message-creation process should
  930.         default this field  to  be  a  single,  authenticated  machine
  931.         address,  indicating  the  agent  (person,  system or process)
  932.         entering the message.  If this is not done, the "Sender" field
  933.         must  be  present.  If the "From" field is defaulted this way,
  934.         the "Sender" field is  optional  and  is  redundant  with  the
  935.         "From"  field.   In  all  cases, addresses in the "From" field
  936.         must be machine-usable (addr-specs) and may not contain  named
  937.         lists (groups).
  938.  
  939.      4.4.2.  Sender / Resent-Sender
  940.  
  941.         This field contains the authenticated identity  of  the  agent
  942.         (person,  system  or  process)  that sends the message.  It is
  943.         intended for use when the sender is not the author of the mes-
  944.         sage,  or  to  indicate  who among a group of authors actually
  945.         sent the message.  If the contents of the "Sender" field would
  946.         be  completely  redundant  with  the  "From"  field,  then the
  947.         "Sender" field need not be present and its use is  discouraged
  948.         (though  still legal).  In particular, the "Sender" field must
  949.         be present if it is not the same as the "From" Field.
  950.  
  951.         The Sender mailbox  specification  includes  a  word  sequence
  952.         which  must correspond to a specific agent (i.e., a human user
  953.         or a computer program) rather than a standard  address.   This
  954.         indicates  the  expectation  that  the field will identify the
  955.         single agent (person,  system,  or  process)  responsible  for
  956.         sending  the mail and not simply include the name of a mailbox
  957.         from which the mail was sent.  For example in the  case  of  a
  958.         shared login name, the name, by itself, would not be adequate.
  959.         The local-part address unit, which refers to  this  agent,  is
  960.         expected to be a computer system term, and not (for example) a
  961.         generalized person reference which can  be  used  outside  the
  962.         network text message context.
  963.  
  964.         Since the critical function served by the  "Sender"  field  is
  965.         identification  of  the agent responsible for sending mail and
  966.         since computer programs cannot be held accountable  for  their
  967.         behavior, it is strongly recommended that when a computer pro-
  968.         gram generates a message, the human  who  is  responsible  for
  969.         that program be referenced as part of the "Sender" field mail-
  970.         box specification.
  971.  
  972.      4.4.3.  Reply-To / Resent-Reply-To
  973.  
  974.         This field provides a general  mechanism  for  indicating  any
  975.         mailbox(es)  to which responses are to be sent.  Three typical
  976.         uses for this feature can  be  distinguished.   In  the  first
  977.         case,  the  author(s) may not have regular machine-based mail-
  978.         boxes and therefore wish(es) to indicate an alternate  machine
  979.         address.   In  the  second case, an author may wish additional
  980.         persons to be made aware of, or responsible for,  replies.   A
  981.         somewhat  different  use  may be of some help to "text message
  982.         teleconferencing" groups equipped with automatic  distribution
  983.         services:   include the address of that service in the "Reply-
  984.         To" field of all messages  submitted  to  the  teleconference;
  985.         then  participants  can  "reply"  to conference submissions to
  986.         guarantee the correct distribution of any submission of  their
  987.         own.
  988.  
  989.         Note:  The "Return-Path" field is added by the mail  transport
  990.                service,  at the time of final deliver.  It is intended
  991.                to identify a path back to the orginator  of  the  mes-
  992.                sage.   The  "Reply-To"  field  is added by the message
  993.                originator and is intended to direct replies.
  994.  
  995.      4.4.4.  Automatic Use of From / Sender / Reply-To
  996.  
  997.         For systems which automatically  generate  address  lists  for
  998.         replies to messages, the following recommendations are made:
  999.  
  1000.             o   The "Sender" field mailbox should be sent  notices  of
  1001.                 any  problems in transport or delivery of the original
  1002.                 messages.  If there is no  "Sender"  field,  then  the
  1003.                 "From" field mailbox should be used.
  1004.  
  1005.             o   The  "Sender"  field  mailbox  should  never  be  used
  1006.                 automatically, in a recipient's reply message.
  1007.  
  1008.             o   If the "Reply-To" field exists, then the reply  should
  1009.                 go to the addresses indicated in that field and not to
  1010.                 the address(es) indicated in the "From" field.
  1011.  
  1012.             o   If there is a "From" field, but no  "Reply-To"  field,
  1013.                 the  reply should be sent to the address(es) indicated
  1014.                 in the "From" field.
  1015.  
  1016.         Sometimes, a recipient may actually wish to  communicate  with
  1017.         the  person  that  initiated  the  message  transfer.  In such
  1018.         cases, it is reasonable to use the "Sender" address.
  1019.  
  1020.         This recommendation is intended  only  for  automated  use  of
  1021.         originator-fields  and is not intended to suggest that replies
  1022.         may not also be sent to other recipients of messages.   It  is
  1023.         up  to  the  respective  mail-handling programs to decide what
  1024.         additional facilities will be provided.
  1025.  
  1026.         Examples are provided in Appendix A.
  1027.  
  1028.      4.5.  Receiver Fields
  1029.  
  1030.      4.5.1.  To / Resent-To
  1031.  
  1032.         This field contains the identity of the primary recipients  of
  1033.         the message.
  1034.  
  1035.      4.5.2.  cc / Resent-cc
  1036.  
  1037.         This field contains the identity of  the  secondary  (informa-
  1038.         tional) recipients of the message.
  1039.  
  1040.      4.5.3.  Bcc / Resent-Bcc
  1041.  
  1042.         This field contains the identity of additional  recipients  of
  1043.         the  message.   The contents of this field are not included in
  1044.         copies of the message sent to the primary and secondary  reci-
  1045.         pients.   Some  systems  may choose to include the text of the
  1046.         "Bcc" field only in the author(s)'s  copy,  while  others  may
  1047.         also include it in the text sent to all those indicated in the
  1048.         "Bcc" list.
  1049.  
  1050.      4.6.  Reference Fields
  1051.  
  1052.      4.6.1.  Message-ID / Resent-Message-ID
  1053.  
  1054.              This field contains a unique identifier  (the  local-part
  1055.         address  unit)  which  refers to this version of this message.
  1056.         The uniqueness of the message identifier is guaranteed by  the
  1057.         host  which  generates  it.  This identifier is intended to be
  1058.         machine readable and not necessarily meaningful to humans.   A
  1059.         message  identifier pertains to exactly one instantiation of a
  1060.         particular message; subsequent revisions to the message should
  1061.         each receive new message identifiers.
  1062.  
  1063.      4.6.2.  In-Reply-To
  1064.  
  1065.              The contents of this field identify  previous  correspon-
  1066.         dence  which this message answers.  Note that if message iden-
  1067.         tifiers are used in this  field,  they  must  use  the  msg-id
  1068.         specification format.
  1069.  
  1070.      4.6.3.  References
  1071.  
  1072.              The contents of this field identify other  correspondence
  1073.         which  this message references.  Note that if message identif-
  1074.         iers are used, they must use the msg-id specification format.
  1075.  
  1076.      4.6.4.  Keywords
  1077.  
  1078.              This field contains keywords  or  phrases,  separated  by
  1079.         commas.
  1080.  
  1081.      4.7.  Other Fields
  1082.  
  1083.      4.7.1.  Subject
  1084.  
  1085.              This is intended to provide a summary,  or  indicate  the
  1086.         nature, of the message.
  1087.  
  1088.      4.7.2.  Comments
  1089.  
  1090.              Permits adding text comments  onto  the  message  without
  1091.         disturbing the contents of the message's body.
  1092.  
  1093.      4.7.3.  Encrypted
  1094.  
  1095.              Sometimes,  data  encryption  is  used  to  increase  the
  1096.         privacy  of  message  contents.   If the body of a message has
  1097.         been encrypted, to keep its contents private, the  "Encrypted"
  1098.         field  can be used to note the fact and to indicate the nature
  1099.         of the encryption.  The first <word> parameter  indicates  the
  1100.         software  used  to  encrypt the body, and the second, optional
  1101.         <word> is intended to  aid  the  recipient  in  selecting  the
  1102.         proper  decryption  key.   This  code word may be viewed as an
  1103.         index to a table of keys held by the recipient.
  1104.  
  1105.         Note:  Unfortunately, headers must contain envelope,  as  well
  1106.                as  contents,  information.  Consequently, it is neces-
  1107.                sary that they remain unencrypted, so that  mail  tran-
  1108.                sport   services   may   access   them.   Since  names,
  1109.                addresses, and "Subject"  field  contents  may  contain
  1110.                sensitive  information,  this  requirement limits total
  1111.                message privacy.
  1112.  
  1113.              Names of encryption software are registered with the Net-
  1114.         work  Information Center, SRI International, Menlo Park, Cali-
  1115.         fornia.
  1116.  
  1117.      4.7.4.  Extension-field
  1118.  
  1119.              A limited number of common fields have  been  defined  in
  1120.         this  document.   As  network mail requirements dictate, addi-
  1121.         tional fields may be standardized.   To  provide  user-defined
  1122.         fields  with  a  measure  of  safety,  in name selection, such
  1123.         extension-fields will never have names  that  begin  with  the
  1124.         string "X-".
  1125.  
  1126.              Names of Extension-fields are registered with the Network
  1127.         Information Center, SRI International, Menlo Park, California.
  1128.  
  1129.      4.7.5.  User-defined-field
  1130.  
  1131.              Individual users of network mail are free to  define  and
  1132.         use  additional  header  fields.   Such fields must have names
  1133.         which are not already used in the current specification or  in
  1134.         any definitions of extension-fields, and the overall syntax of
  1135.         these user-defined-fields must conform to this specification's
  1136.         rules   for   delimiting  and  folding  fields.   Due  to  the
  1137.         extension-field  publishing  process,  the  name  of  a  user-
  1138.         defined-field may be pre-empted
  1139.  
  1140.         Note:  The prefatory string "X-" will never  be  used  in  the
  1141.                names  of Extension-fields.  This provides user-defined
  1142.                fields with a protected set of names.
  1143.  
  1144.  
  1145.      5.  DATE AND TIME SPECIFICATION
  1146.  
  1147.      5.1.  Syntax
  1148.  
  1149.      date-time   =  [ day "," ] date time        ; dd mm yy
  1150.                                                  ;  hh:mm:ss zzz
  1151.  
  1152.      day         =  "Mon"  / "Tue" /  "Wed"  / "Thu"
  1153.                  /  "Fri"  / "Sat" /  "Sun"
  1154.  
  1155.      date        =  1*2DIGIT month 2DIGIT        ; day month year
  1156.                                                  ;  e.g. 20 Jun 82
  1157.  
  1158.      month       =  "Jan"  /  "Feb" /  "Mar"  /  "Apr"
  1159.                  /  "May"  /  "Jun" /  "Jul"  /  "Aug"
  1160.                  /  "Sep"  /  "Oct" /  "Nov"  /  "Dec"
  1161.  
  1162.      time        =  hour zone                    ; ANSI and Military
  1163.  
  1164.      hour        =  2DIGIT ":" 2DIGIT [":" 2DIGIT]
  1165.                                                  ; 00:00:00 - 23:59:59
  1166.  
  1167.      zone        =  "UT"  / "GMT"                ; Universal Time
  1168.                                                  ; North American : UT
  1169.                  /  "EST" / "EDT"                ;  Eastern:  - 5/ - 4
  1170.                  /  "CST" / "CDT"                ;  Central:  - 6/ - 5
  1171.                  /  "MST" / "MDT"                ;  Mountain: - 7/ - 6
  1172.                  /  "PST" / "PDT"                ;  Pacific:  - 8/ - 7
  1173.                  /  1ALPHA                       ; Military: Z = UT;
  1174.                                                  ;  A:-1; (J not used)
  1175.                                                  ;  M:-12; N:+1; Y:+12
  1176.                  / ( ("+" / "-") 4DIGIT )        ; Local differential
  1177.                                                  ;  hours+min. (HHMM)
  1178.  
  1179.      5.2.  Semantics
  1180.  
  1181.           If included, day-of-week must be the day implied by the date
  1182.      specification.
  1183.  
  1184.           Time zone may be indicated in several ways.  "UT" is Univer-
  1185.      sal  Time  (formerly called "Greenwich Mean Time"); "GMT" is per-
  1186.      mitted as a reference to Universal Time.  The  military  standard
  1187.      uses  a  single  character for each zone.  "Z" is Universal Time.
  1188.      "A" indicates one hour earlier, and "M" indicates 12  hours  ear-
  1189.      lier;  "N"  is  one  hour  later, and "Y" is 12 hours later.  The
  1190.      letter "J" is not used.  The other remaining two forms are  taken
  1191.      from ANSI standard X3.51-1975.  One allows explicit indication of
  1192.      the amount of offset from UT; the other uses  common  3-character
  1193.      strings for indicating time zones in North America.
  1194.  
  1195.  
  1196.      6.  ADDRESS SPECIFICATION
  1197.  
  1198.      6.1.  Syntax
  1199.  
  1200.      address     =  mailbox                      ; one addressee
  1201.                  /  group                        ; named list
  1202.  
  1203.      group       =  phrase ":" [#mailbox] ";"
  1204.  
  1205.      mailbox     =  addr-spec                    ; simple address
  1206.                  /  phrase route-addr            ; name & addr-spec
  1207.  
  1208.      route-addr  =  "<" [route] addr-spec ">"
  1209.  
  1210.      route       =  1#("@" domain) ":"           ; path-relative
  1211.  
  1212.      addr-spec   =  local-part "@" domain        ; global address
  1213.  
  1214.      local-part  =  word *("." word)             ; uninterpreted
  1215.                                                  ; case-preserved
  1216.  
  1217.      domain      =  sub-domain *("." sub-domain)
  1218.  
  1219.      sub-domain  =  domain-ref / domain-literal
  1220.  
  1221.      domain-ref  =  atom                         ; symbolic reference
  1222.  
  1223.      6.2.  Semantics
  1224.  
  1225.           A mailbox receives mail.  It is a  conceptual  entity  which
  1226.      does  not necessarily pertain to file storage.  For example, some
  1227.      sites may choose to print mail on their line printer and  deliver
  1228.      the output to the addressee's desk.
  1229.  
  1230.           A mailbox specification comprises a person, system  or  pro-
  1231.      cess name reference, a domain-dependent string, and a name-domain
  1232.      reference.  The name reference is optional and is usually used to
  1233.      indicate  the  human name of a recipient.  The name-domain refer-
  1234.      ence specifies a sequence of sub-domains.   The  domain-dependent
  1235.      string is uninterpreted, except by the final sub-domain; the rest
  1236.      of the mail service merely transmits it as a literal string.
  1237.  
  1238.      6.2.1.  Domains
  1239.  
  1240.         A name-domain is a set of registered (mail)  names.   A  name-
  1241.         domain  specification  resolves  to  a subordinate name-domain
  1242.         specification  or  to  a  terminal  domain-dependent   string.
  1243.         Hence,  domain  specification  is  extensible,  permitting any
  1244.         number of registration levels.
  1245.  
  1246.         Name-domains model a global, logical, hierarchical  addressing
  1247.         scheme.   The  model is logical, in that an address specifica-
  1248.         tion is related to name registration and  is  not  necessarily
  1249.         tied  to  transmission  path.   The  model's  hierarchy  is  a
  1250.         directed graph, called an in-tree, such that there is a single
  1251.         path  from  the root of the tree to any node in the hierarchy.
  1252.         If more than one path actually exists, they are considered  to
  1253.         be different addresses.
  1254.  
  1255.         The root node is common to all addresses; consequently, it  is
  1256.         not  referenced.   Its  children  constitute "top-level" name-
  1257.         domains.  Usually, a service has access to its own full domain
  1258.         specification and to the names of all top-level name-domains.
  1259.  
  1260.         The "top" of the domain addressing hierarchy -- a child of the
  1261.         root  --  is  indicated  by  the right-most field, in a domain
  1262.         specification.  Its child is specified to the left, its  child
  1263.         to the left, and so on.
  1264.  
  1265.         Some groups provide formal registration services;  these  con-
  1266.         stitute   name-domains   that  are  independent  logically  of
  1267.         specific machines.  In addition, networks and machines  impli-
  1268.         citly  compose name-domains, since their membership usually is
  1269.         registered in name tables.
  1270.  
  1271.         In the case of formal registration, an organization implements
  1272.         a  (distributed)  data base which provides an address-to-route
  1273.         mapping service for addresses of the form:
  1274.  
  1275.                          person@registry.organization
  1276.  
  1277.         Note that "organization" is a logical  entity,  separate  from
  1278.         any particular communication network.
  1279.  
  1280.         A mechanism for accessing "organization" is universally avail-
  1281.         able.   That mechanism, in turn, seeks an instantiation of the
  1282.         registry; its location is not indicated in the address specif-
  1283.         ication.   It  is assumed that the system which operates under
  1284.         the name "organization" knows how to find a subordinate regis-
  1285.         try.  The registry will then use the "person" string to deter-
  1286.         mine where to send the mail specification.
  1287.  
  1288.         The latter,  network-oriented  case  permits  simple,  direct,
  1289.         attachment-related address specification, such as:
  1290.  
  1291.                               user@host.network
  1292.  
  1293.         Once the network is accessed, it is expected  that  a  message
  1294.         will  go  directly  to the host and that the host will resolve
  1295.         the user name, placing the message in the user's mailbox.
  1296.  
  1297.      6.2.2.  Abbreviated Domain Specification
  1298.  
  1299.         Since any number of  levels  is  possible  within  the  domain
  1300.         hierarchy,  specification  of  a  fully  qualified address can
  1301.         become inconvenient.  This standard permits abbreviated domain
  1302.         specification, in a special case:
  1303.  
  1304.             For the address of  the  sender,  call  the  left-most
  1305.             sub-domain  Level  n.   In a header address, if all of
  1306.             the sub-domains above (i.e., to the right of) Level  n
  1307.             are  the same as those of the sender, then they do not
  1308.             have to appear in the specification.   Otherwise,  the
  1309.             address must be fully qualified.
  1310.  
  1311.             This feature is subject  to  approval  by  local  sub-
  1312.             domains.   Individual  sub-domains  may  require their
  1313.             member systems, which originate mail, to provide  full
  1314.             domain  specification only.  When permitted, abbrevia-
  1315.             tions may be present  only  while  the  message  stays
  1316.             within the sub-domain of the sender.
  1317.  
  1318.             Use of this mechanism requires the sender's sub-domain
  1319.             to reserve the names of all top-level domains, so that
  1320.             full specifications can be distinguished from abbrevi-
  1321.             ated specifications.
  1322.  
  1323.         For example, if a sender's address is:
  1324.  
  1325.                  sender@registry-A.registry-1.organization-X
  1326.  
  1327.         and one recipient's address is:
  1328.  
  1329.                 recipient@registry-B.registry-1.organization-X
  1330.  
  1331.         and another's is:
  1332.  
  1333.                 recipient@registry-C.registry-2.organization-X
  1334.  
  1335.         then ".registry-1.organization-X" need not be specified in the
  1336.         the  message,  but  "registry-C.registry-2"  does  have  to be
  1337.         specified.  That is, the first two addresses may  be  abbrevi-
  1338.         ated, but the third address must be fully specified.
  1339.  
  1340.         When a message crosses a domain boundary, all  addresses  must
  1341.         be  specified  in  the  full format, ending with the top-level
  1342.         name-domain in the right-most field.  It is the responsibility
  1343.         of  mail  forwarding services to ensure that addresses conform
  1344.         with this requirement.  In the case of abbreviated  addresses,
  1345.         the  relaying  service must make the necessary expansions.  It
  1346.         should be noted that it often is difficult for such a  service
  1347.         to locate all occurrences of address abbreviations.  For exam-
  1348.         ple, it will not be possible to find such abbreviations within
  1349.         the  body  of  the  message.   The "Return-Path" field can aid
  1350.         recipients in recovering from these errors.
  1351.  
  1352.         Note:  When passing any portion of an addr-spec onto a process
  1353.                which  does  not interpret data according to this stan-
  1354.                dard (e.g., mail protocol servers).  There must  be  no
  1355.                LWSP-chars  preceding  or  following the at-sign or any
  1356.                delimiting period ("."), such as  shown  in  the  above
  1357.                examples,   and   only  one  SPACE  between  contiguous
  1358.                <word>s.
  1359.  
  1360.      6.2.3.  Domain Terms
  1361.  
  1362.         A domain-ref must be the official name of a registry, network,
  1363.         or  host.   It  is  a  symbolic  reference, within a name sub-
  1364.         domain.  At times, it is necessary to bypass standard  mechan-
  1365.         isms  for  resolving  such  references,  using  more primitive
  1366.         information, such as a network host address  rather  than  its
  1367.         associated host name.
  1368.  
  1369.         To permit such references, this standard provides the  domain-
  1370.         literal  construct.   Its contents must conform with the needs
  1371.         of the sub-domain in which it is interpreted.
  1372.  
  1373.         Domain-literals which refer to domains within the ARPA  Inter-
  1374.         net  specify  32-bit  Internet addresses, in four 8-bit fields
  1375.         noted in decimal, as described in Request for  Comments  #820,
  1376.         "Assigned Numbers."  For example:
  1377.  
  1378.                                  [10.0.3.19]
  1379.  
  1380.         Note:  The use of domain-literals is strongly discouraged.  It
  1381.                is  permitted  only  as  a means of bypassing temporary
  1382.                system limitations, such as name tables which  are  not
  1383.                complete.
  1384.  
  1385.         The names of "top-level" domains, and  the  names  of  domains
  1386.         under  in  the  ARPA Internet, are registered with the Network
  1387.         Information Center, SRI International, Menlo Park, California.
  1388.  
  1389.      6.2.4.  Domain-Dependent Local String
  1390.  
  1391.         The local-part of an  addr-spec  in  a  mailbox  specification
  1392.         (i.e.,  the  host's  name for the mailbox) is understood to be
  1393.         whatever the receiving mail protocol server allows.  For exam-
  1394.         ple,  some systems do not understand mailbox references of the
  1395.         form "P. D. Q. Bach", but others do.
  1396.  
  1397.         This specification treats periods (".") as lexical separators.
  1398.         Hence,  their  presence  in  local-parts which are not quoted-
  1399.         strings, is detected.   However,  such  occurrences  carry  no
  1400.         semantics.  That is, if a local-part has periods within it, an
  1401.         address parser will divide the local-part into several tokens,
  1402.         but  the  sequence  of  tokens will be treated as one uninter-
  1403.         preted unit.  The sequence  will  be  re-assembled,  when  the
  1404.         address is passed outside of the system such as to a mail pro-
  1405.         tocol service.
  1406.  
  1407.         For example, the address:
  1408.  
  1409.                            First.Last@Registry.Org
  1410.  
  1411.         is legal and does not require the local-part to be  surrounded
  1412.         with  quotation-marks.   (However,  "First  Last" does require
  1413.         quoting.)  The local-part of the address, when passed  outside
  1414.         of  the  mail  system,  within  the  Registry.Org  domain,  is
  1415.         "First.Last", again without quotation marks.
  1416.  
  1417.      6.2.5.  Balancing Local-Part and Domain
  1418.  
  1419.         In some cases, the boundary between local-part and domain  can
  1420.         be  flexible.  The local-part may be a simple string, which is
  1421.         used for the final determination of the  recipient's  mailbox.
  1422.         All  other  levels  of  reference  are, therefore, part of the
  1423.         domain.
  1424.  
  1425.         For some systems, in the case of abbreviated reference to  the
  1426.         local  and  subordinate  sub-domains,  it  may  be possible to
  1427.         specify only one reference within the domain  part  and  place
  1428.         the  other,  subordinate  name-domain  references  within  the
  1429.         local-part.  This would appear as:
  1430.  
  1431.                         mailbox.sub1.sub2@this-domain
  1432.  
  1433.         Such a specification would be acceptable  to  address  parsers
  1434.         which  conform  to  RFC  #733,  but  do not support this newer
  1435.         Internet standard.  While contrary to the intent of this stan-
  1436.         dard, the form is legal.
  1437.  
  1438.         Also, some sub-domains have a specification syntax which  does
  1439.         not conform to this standard.  For example:
  1440.  
  1441.                       sub-net.mailbox@sub-domain.domain
  1442.  
  1443.         uses a different parsing  sequence  for  local-part  than  for
  1444.         domain.
  1445.  
  1446.         Note:  As a rule,  the  domain  specification  should  contain
  1447.                fields  which  are  encoded  according to the syntax of
  1448.                this standard and which contain  generally-standardized
  1449.                information.   The local-part specification should con-
  1450.                tain only that portion of the  address  which  deviates
  1451.                from the form or intention of the domain field.
  1452.  
  1453.      6.2.6.  Multiple Mailboxes
  1454.  
  1455.         An individual may have several mailboxes and wish  to  receive
  1456.         mail  at  whatever  mailbox  is  convenient  for the sender to
  1457.         access.  This standard does not provide a means of  specifying
  1458.         "any member of" a list of mailboxes.
  1459.  
  1460.         A set of individuals may wish to receive mail as a single unit
  1461.         (i.e.,  a  distribution  list).  The <group> construct permits
  1462.         specification of such a list.  Recipient mailboxes are  speci-
  1463.         fied  within  the  bracketed  part (":" - ";").  A copy of the
  1464.         transmitted message is to be  sent  to  each  mailbox  listed.
  1465.         This  standard  does  not  permit  recursive  specification of
  1466.         groups within groups.
  1467.  
  1468.         While a list must be named, it is not required that  the  con-
  1469.         tents  of  the  list be included.  In this case, the <address>
  1470.         serves only as an indication of group distribution  and  would
  1471.         appear in the form:
  1472.  
  1473.                                     name:;
  1474.  
  1475.         Some mail  services  may  provide  a  group-list  distribution
  1476.         facility,  accepting  a single mailbox reference, expanding it
  1477.         to the full distribution list, and relaying the  mail  to  the
  1478.         list's  members.   This standard provides no additional syntax
  1479.         for indicating such a  service.   Using  the  <group>  address
  1480.         alternative,  while listing one mailbox in it, can mean either
  1481.         that the mailbox reference will be expanded to a list or  that
  1482.         there is a group with one member.
  1483.  
  1484.      6.2.7.  Explicit Path Specification
  1485.  
  1486.         At times, a  message  originator  may  wish  to  indicate  the
  1487.         transmission  path  that  a  message  should  follow.  This is
  1488.         called source routing.  The normal addressing scheme, used  in
  1489.         an  addr-spec,  is  carefully separated from such information;
  1490.         the <route> portion of a route-addr is provided for such occa-
  1491.         sions.  It specifies the sequence of hosts and/or transmission
  1492.         services that are  to  be  traversed.   Both  domain-refs  and
  1493.         domain-literals may be used.
  1494.  
  1495.         Note:  The use of source routing is discouraged.   Unless  the
  1496.                sender has special need of path restriction, the choice
  1497.                of transmission route should be left to the mail  tran-
  1498.                sport service.
  1499.  
  1500.      6.3.  Reserved Address
  1501.  
  1502.           It often is necessary to send mail to a site, without  know-
  1503.      ing  any  of its valid addresses.  For example, there may be mail
  1504.      system dysfunctions, or a user may wish to find  out  a  person's
  1505.      correct address, at that site.
  1506.  
  1507.           This standard specifies a single, reserved  mailbox  address
  1508.      (local-part)  which  is  to  be valid at each site.  Mail sent to
  1509.      that address is to be routed to  a  person  responsible  for  the
  1510.      site's mail system or to a person with responsibility for general
  1511.      site operation.  The name of the reserved local-part address is:
  1512.  
  1513.                                 Postmaster
  1514.  
  1515.      so that "Postmaster@domain" is required to be valid.
  1516.  
  1517.      Note:  This reserved local-part must be  matched  without  sensi-
  1518.             tivity to alphabetic case, so that "POSTMASTER", "postmas-
  1519.             ter", and even "poStmASteR" is to be accepted.
  1520.  
  1521.  
  1522.      7.  BIBLIOGRAPHY
  1523.  
  1524.  
  1525.      ANSI.  "USA Standard Code  for  Information  Interchange,"  X3.4.
  1526.         American  National Standards Institute: New York (1968).  Also
  1527.         in:  Feinler, E.  and J. Postel, eds., "ARPANET Protocol Hand-
  1528.         book", NIC 7104.
  1529.  
  1530.      ANSI.  "Representations of Universal Time, Local  Time  Differen-
  1531.         tials,  and United States Time Zone References for Information
  1532.         Interchange," X3.51-1975.  American National Standards  Insti-
  1533.         tute:  New York (1975).
  1534.  
  1535.      Bemer, R.W., "Time and the Computer."  In:  Interface  Age  (Feb.
  1536.         1979).
  1537.  
  1538.      Bennett, C.J.  "JNT Mail Protocol".  Joint Network Team,  Ruther-
  1539.         ford and Appleton Laboratory:  Didcot, England.
  1540.  
  1541.      Bhushan, A.K., Pogran, K.T., Tomlinson,  R.S.,  and  White,  J.E.
  1542.         "Standardizing  Network  Mail  Headers,"   ARPANET Request for
  1543.         Comments No. 561, Network Information Center  No.  18516;  SRI
  1544.         International:  Menlo Park (September 1973).
  1545.  
  1546.      Birrell, A.D., Levin, R.,  Needham,  R.M.,  and  Schroeder,  M.D.
  1547.         "Grapevine:  An Exercise in Distributed Computing," Communica-
  1548.         tions of the ACM 25, 4 (April 1982), 260-274.
  1549.  
  1550.      Crocker,  D.H.,  Vittal,  J.J.,  Pogran,  K.T.,  Henderson,  D.A.
  1551.         "Standard  for  the  Format  of  ARPA  Network  Text Message,"
  1552.         ARPANET Request for  Comments  No.  733,  Network  Information
  1553.         Center  No.  41952.   SRI International:  Menlo Park (November
  1554.         1977).
  1555.  
  1556.      Feinler, E.J. and Postel, J.B.  ARPANET Protocol  Handbook,  Net-
  1557.         work  Information  Center  No.  7104   (NTIS AD A003890).  SRI
  1558.         International:  Menlo Park (April 1976).
  1559.  
  1560.      Harary, F.   "Graph  Theory".   Addison-Wesley:   Reading,  Mass.
  1561.         (1969).
  1562.  
  1563.      Levin, R. and Schroeder, M.  "Transport  of  Electronic  Messages
  1564.         through  a  Network,"   TeleInformatics  79, pp. 29-33.  North
  1565.         Holland (1979).  Also  as  Xerox  Palo  Alto  Research  Center
  1566.         Technical Report CSL-79-4.
  1567.  
  1568.      Myer, T.H. and Henderson, D.A.  "Message Transmission  Protocol,"
  1569.         ARPANET  Request  for  Comments,  No. 680, Network Information
  1570.         Center No. 32116.  SRI International:  Menlo Park (1975).
  1571.  
  1572.      NBS.  "Specification of Message Format for Computer Based Message
  1573.         Systems, Recommended Federal Information Processing Standard."
  1574.         National  Bureau   of   Standards:    Gaithersburg,   Maryland
  1575.         (October 1981).
  1576.  
  1577.      NIC.  Internet Protocol Transition Workbook.  Network Information
  1578.         Center,   SRI-International,  Menlo  Park,  California  (March
  1579.         1982).
  1580.  
  1581.      Oppen, D.C. and Dalal, Y.K.  "The Clearinghouse:  A Decentralized
  1582.         Agent  for  Locating  Named  Objects in a Distributed Environ-
  1583.         ment," OPD-T8103.  Xerox Office Products Division:  Palo Alto,
  1584.         CA. (October 1981).
  1585.  
  1586.      Postel, J.B.  "Assigned Numbers,"  ARPANET Request for  Comments,
  1587.         No. 820.  SRI International:  Menlo Park (August 1982).
  1588.  
  1589.      Postel, J.B.  "Simple Mail Transfer  Protocol,"  ARPANET  Request
  1590.         for Comments, No. 821.  SRI International:  Menlo Park (August
  1591.         1982).
  1592.  
  1593.      Shoch, J.F.  "Internetwork naming, addressing  and  routing,"  in
  1594.         Proc. 17th IEEE Computer Society International Conference, pp.
  1595.         72-79, Sept. 1978, IEEE Cat. No. 78 CH 1388-8C.
  1596.  
  1597.      Su, Z. and Postel, J.  "The Domain Naming Convention for Internet
  1598.         User  Applications,"  ARPANET  Request  for Comments, No. 819.
  1599.         SRI International:  Menlo Park (August 1982).
  1600.  
  1601.  
  1602.                                  APPENDIX
  1603.  
  1604.  
  1605.      H.  EXAMPLES
  1606.  
  1607.      H.1.  Addresses
  1608.  
  1609.      H.1.1.  Alfred Neuman <Neuman@BBN-TENEXA>
  1610.  
  1611.      H.1.2.  Neuman@BBN-TENEXA
  1612.  
  1613.              These two "Alfred Neuman" examples have identical  seman-
  1614.         tics, as far as the operation of the local host's mail sending
  1615.         (distribution) program (also sometimes  called  its  "mailer")
  1616.         and  the remote host's mail protocol server are concerned.  In
  1617.         the first example, the  "Alfred  Neuman"  is  ignored  by  the
  1618.         mailer,  as "Neuman@BBN-TENEXA" completely specifies the reci-
  1619.         pient.  The second example contains  no  superfluous  informa-
  1620.         tion,  and,  again,  "Neuman@BBN-TENEXA" is the intended reci-
  1621.         pient.
  1622.  
  1623.         Note:  When the message crosses name-domain  boundaries,  then
  1624.                these specifications must be changed, so as to indicate
  1625.                the remainder of the hierarchy, starting with  the  top
  1626.                level.
  1627.  
  1628.      H.1.3.  "George, Ted" <Shared@Group.Arpanet>
  1629.  
  1630.              This form might be used to indicate that a single mailbox
  1631.         is  shared  by several users.  The quoted string is ignored by
  1632.         the originating host's mailer, because  "Shared@Group.Arpanet"
  1633.         completely specifies the destination mailbox.
  1634.  
  1635.      H.1.4.  Wilt . (the  Stilt) Chamberlain@NBA.US
  1636.  
  1637.              The "(the  Stilt)" is a comment, which is not included in
  1638.         the  destination  mailbox  address  handed  to the originating
  1639.         system's mailer.  The local-part of the address is the  string
  1640.         "Wilt.Chamberlain", with no space between the first and second
  1641.         words.
  1642.  
  1643.      H.1.5.  Address Lists
  1644.  
  1645.      Gourmets:  Pompous Person <WhoZiWhatZit@Cordon-Bleu>,
  1646.                 Childs@WGBH.Boston, Galloping Gourmet@
  1647.                 ANT.Down-Under (Australian National Television),
  1648.                 Cheapie@Discount-Liquors;,
  1649.      Cruisers:  Port@Portugal, Jones@SEA;,
  1650.          Another@Somewhere.SomeOrg
  1651.  
  1652.         This group list example points out the use of comments and the
  1653.         mixing of addresses and groups.
  1654.  
  1655.      H.2.  Originator Items
  1656.  
  1657.      H.2.1.  Author-sent
  1658.  
  1659.              George Jones logs into his host  as  "Jones".   He  sends
  1660.         mail himself.
  1661.  
  1662.             From:  Jones@Group.Org
  1663.  
  1664.         or
  1665.  
  1666.             From:  George Jones <Jones@Group.Org>
  1667.  
  1668.      H.2.2.  Secretary-sent
  1669.  
  1670.              George Jones logs in as Jones on his  host.   His  secre-
  1671.         tary,  who logs in as Secy sends mail for him.  Replies to the
  1672.         mail should go to George.
  1673.  
  1674.             From:    George Jones <Jones@Group>
  1675.             Sender:  Secy@Other-Group
  1676.  
  1677.      H.2.3.  Secretary-sent, for user of shared directory
  1678.  
  1679.              George Jones' secretary sends mail  for  George.  Replies
  1680.         should go to George.
  1681.  
  1682.             From:     George Jones<Shared@Group.Org>
  1683.             Sender:   Secy@Other-Group
  1684.  
  1685.         Note that there need not be a space between  "Jones"  and  the
  1686.         "<",  but  adding a space enhances readability (as is the case
  1687.         in other examples.
  1688.  
  1689.      H.2.4.  Committee activity, with one author
  1690.  
  1691.              George is a member of a committee.  He wishes to have any
  1692.         replies to his message go to all committee members.
  1693.  
  1694.             From:     George Jones <Jones@Host.Net>
  1695.             Sender:   Jones@Host
  1696.             Reply-To: The Committee: Jones@Host.Net,
  1697.                                      Smith@Other.Org,
  1698.                                      Doe@Somewhere-Else;
  1699.  
  1700.         Note  that  if  George  had  not  included  himself   in   the
  1701.         enumeration  of  The  Committee,  he  would not have gotten an
  1702.         implicit reply; the presence of the  "Reply-to"  field  super-
  1703.         sedes the sending of a reply to the person named in the "From"
  1704.         field.
  1705.  
  1706.      H.2.5.  Secretary acting as full agent of author
  1707.  
  1708.              George Jones asks his secretary  (Secy@Host)  to  send  a
  1709.         message for him in his capacity as Group.  He wants his secre-
  1710.         tary to handle all replies.
  1711.  
  1712.             From:     George Jones <Group@Host>
  1713.             Sender:   Secy@Host
  1714.             Reply-To: Secy@Host
  1715.  
  1716.      H.2.6.  Agent for user without online mailbox
  1717.  
  1718.              A friend  of  George's,  Sarah,  is  visiting.   George's
  1719.         secretary  sends  some  mail to a friend of Sarah in computer-
  1720.         land.  Replies should go to George, whose mailbox is Jones  at
  1721.         Registry.
  1722.  
  1723.             From:     Sarah Friendly <Secy@Registry>
  1724.             Sender:   Secy-Name <Secy@Registry>
  1725.             Reply-To: Jones@Registry.
  1726.  
  1727.      H.2.7.  Agent for member of a committee
  1728.  
  1729.              George's secretary sends out a message which was authored
  1730.         jointly by all the members of a committee.  Note that the name
  1731.         of the committee cannot be specified, since <group> names  are
  1732.         not permitted in the From field.
  1733.  
  1734.             From:   Jones@Host,
  1735.                     Smith@Other-Host,
  1736.                     Doe@Somewhere-Else
  1737.             Sender: Secy@SHost
  1738.  
  1739.      H.3.  Complete Headers
  1740.  
  1741.      H.3.1.  Minimum required
  1742.  
  1743.      Date:     26 Aug 76 1429 EDT        Date:     26 Aug 76 1429 EDT
  1744.      From:     Jones@Registry.Org   or   From:     Jones@Registry.Org
  1745.      Bcc:                                To:       Smith@Registry.Org
  1746.  
  1747.         Note that the "Bcc" field may be empty, while the  "To"  field
  1748.         is required to have at least one address.
  1749.  
  1750.      H.3.2.  Using some of the additional fields
  1751.  
  1752.      Date:     26 Aug 76 1430 EDT
  1753.      From:     George Jones<Group@Host>
  1754.      Sender:   Secy@SHOST
  1755.      To:       "Al Neuman"@Mad-Host,
  1756.                Sam.Irving@Other-Host
  1757.      Message-ID:  <some.string@SHOST>
  1758.  
  1759.      H.3.3.  About as complex as you're going to get
  1760.  
  1761.      Date     :  27 Aug 76 0932 PDT
  1762.      From     :  Ken Davis <KDavis@This-Host.This-net>
  1763.      Subject  :  Re: The Syntax in the RFC
  1764.      Sender   :  KSecy@Other-Host
  1765.      Reply-To :  Sam.Irving@Reg.Organization
  1766.      To       :  George Jones <Group@Some-Reg.An-Org>,
  1767.                  Al.Neuman@MAD.Publisher
  1768.      cc       :  Important folk:
  1769.                    Tom Softwood <Balsa@Tree.Root>,
  1770.                    "Sam Irving"@Other-Host;,
  1771.                  Standard Distribution:
  1772.                    /main/davis/people/standard@Other-Host,
  1773.                    "<Jones>standard.dist.3"@Tops-20-Host>;
  1774.      Comment  :  Sam is away on business. He asked me to handle
  1775.                  his mail for him.  He'll be able to provide  a
  1776.                  more  accurate  explanation  when  he  returns
  1777.                  next week.
  1778.      In-Reply-To: <some.string@DBM.Group>, George's message
  1779.      X-Special-action:  This is a sample of user-defined field-
  1780.                  names.  There could also be a field-name
  1781.                  "Special-action", but its name might later be
  1782.                  preempted
  1783.      Message-ID: <4231.629.XYzi-What@Other-Host>
  1784.  
  1785.  
  1786.      I.  SIMPLE FIELD PARSING
  1787.  
  1788.           Some mail-reading software systems may wish to perform  only
  1789.      minimal  processing,  ignoring  the internal syntax of structured
  1790.      field-bodies and treating them the  same  as  unstructured-field-
  1791.      bodies.  Such software will need only to distinguish:
  1792.  
  1793.          o   Header fields from the message body,
  1794.  
  1795.          o   Beginnings of fields from lines which continue fields,
  1796.  
  1797.          o   Field-names from field-contents.
  1798.  
  1799.           The abbreviated set of syntactic rules  which  follows  will
  1800.      suffice  for  this  purpose.  It describes a limited view of mes-
  1801.      sages and is a subset of the syntactic rules provided in the main
  1802.      part of this specification.  One small exception is that the con-
  1803.      tents of field-bodies consist only of text:
  1804.  
  1805.      I.1.  Syntax
  1806.  
  1807.  
  1808.      message         =   *field *(CRLF *text)
  1809.  
  1810.      field           =    field-name ":" [field-body] CRLF
  1811.  
  1812.      field-name      =  1*<any CHAR, excluding CTLs, SPACE, and ":">
  1813.  
  1814.      field-body      =   *text [CRLF LWSP-char field-body]
  1815.  
  1816.  
  1817.      I.2.  Semantics
  1818.  
  1819.           Headers occur before the message body and are terminated  by
  1820.      a null line (i.e., two contiguous CRLFs).
  1821.  
  1822.           A line which continues a header field begins with a SPACE or
  1823.      HTAB  character,  while  a  line  beginning a field starts with a
  1824.      printable character which is not a colon.
  1825.  
  1826.           A field-name consists of one or  more  printable  characters
  1827.      (excluding  colon,  space, and control-characters).  A field-name
  1828.      must be contained on one line.  Upper and lower case are not dis-
  1829.      tinguished when comparing field-names.
  1830.  
  1831.  
  1832.      J.  DIFFERENCES FROM RFC #733
  1833.  
  1834.           The following summarizes the differences between this  stan-
  1835.      dard  and the one specified in Arpanet Request for Comments #733,
  1836.      "Standard for the Format of ARPA  Network  Text  Messages".   The
  1837.      differences  are  listed  in the order of their occurrence in the
  1838.      current specification.
  1839.  
  1840.      J.1.  Field Definitions
  1841.  
  1842.      J.1.1.  Field names
  1843.  
  1844.         These now must be a sequence of  printable  characters.   They
  1845.         may not contain any LWSP-chars.
  1846.  
  1847.      J.2.  Lexical Tokens
  1848.  
  1849.      J.2.1.  Specials
  1850.  
  1851.         The characters period ("."), left-square  bracket  ("["),  and
  1852.         right-square  bracket ("]") have been added.  For presentation
  1853.         purposes, and when passing a specification to  a  system  that
  1854.         does  not conform to this standard, periods are to be contigu-
  1855.         ous with their surrounding lexical tokens.   No  linear-white-
  1856.         space  is  permitted  between them.  The presence of one LWSP-
  1857.         char between other tokens is still directed.
  1858.  
  1859.      J.2.2.  Atom
  1860.  
  1861.         Atoms may not contain SPACE.
  1862.  
  1863.      J.2.3.  Special text
  1864.  
  1865.         ctext and qtext have had backslash ("\") added to the list  of
  1866.         prohibited characters.
  1867.  
  1868.      J.2.4.  Domains
  1869.  
  1870.         The lexical tokens  <domain-literal>  and  <dtext>  have  been
  1871.         added.
  1872.  
  1873.      J.3.  Message Specification
  1874.  
  1875.      J.3.1.  Trace
  1876.  
  1877.         The "Return-path:" and "Received:" fields have been specified.
  1878.  
  1879.      J.3.2.  From
  1880.  
  1881.         The "From" field must contain machine-usable addresses  (addr-
  1882.         spec).   Multiple  addresses may be specified, but named-lists
  1883.         (groups) may not.
  1884.  
  1885.      J.3.3.  Resent
  1886.  
  1887.         The meta-construct of prefacing field names  with  the  string
  1888.         "Resent-"  has been added, to indicate that a message has been
  1889.         forwarded by an intermediate recipient.
  1890.  
  1891.      J.3.4.  Destination
  1892.  
  1893.         A message must contain at least one destination address field.
  1894.         "To" and "CC" are required to contain at least one address.
  1895.  
  1896.      J.3.5.  In-Reply-To
  1897.  
  1898.         The field-body is no longer a comma-separated list, although a
  1899.         sequence is still permitted.
  1900.  
  1901.      J.3.6.  Reference
  1902.  
  1903.         The field-body is no longer a comma-separated list, although a
  1904.         sequence is still permitted.
  1905.  
  1906.      J.3.7.  Encrypted
  1907.  
  1908.         A field has been specified that permits  senders  to  indicate
  1909.         that the body of a message has been encrypted.
  1910.  
  1911.      J.3.8.  Extension-field
  1912.  
  1913.         Extension fields are prohibited from beginning with the  char-
  1914.         acters "X-".
  1915.  
  1916.      J.4.  Date and Time Specification
  1917.  
  1918.      J.4.1.  Simplification
  1919.  
  1920.         Fewer optional forms are permitted  and  the  list  of  three-
  1921.         letter time zones has been shortened.
  1922.  
  1923.      J.5.  Address Specification
  1924.  
  1925.      J.5.1.  Address
  1926.  
  1927.         The use of quoted-string, and the ":"-atom-":" construct, have
  1928.         been  removed.   An  address  now  is  either a single mailbox
  1929.         reference or is a named list of addresses.  The  latter  indi-
  1930.         cates a group distribution.
  1931.  
  1932.      J.5.2.  Groups
  1933.  
  1934.         Group lists are now required to to have a name.   Group  lists
  1935.         may not be nested.
  1936.  
  1937.      J.5.3.  Mailbox
  1938.  
  1939.         A mailbox specification  may  indicate  a  person's  name,  as
  1940.         before.   Such  a  named  list  no longer may specify multiple
  1941.         mailboxes and may not be nested.
  1942.  
  1943.      J.5.4.  Route addressing
  1944.  
  1945.         Addresses now are taken to be absolute, global specifications,
  1946.         independent  of transmission paths.  The <route> construct has
  1947.         been provided, to permit explicit specification  of  transmis-
  1948.         sion  path.   RFC  #733's  use  of multiple at-signs ("@") was
  1949.         intended as a general syntax  for  indicating  routing  and/or
  1950.         hierarchical addressing.  The current standard separates these
  1951.         specifications and only one at-sign is permitted.
  1952.  
  1953.      J.5.5.  At-sign
  1954.  
  1955.         The string " at " no longer is used as an  address  delimiter.
  1956.         Only at-sign ("@") serves the function.
  1957.  
  1958.      J.5.6.  Domains
  1959.  
  1960.         Hierarchical, logical name-domains have been added.
  1961.  
  1962.      J.6.  Reserved Address
  1963.  
  1964.      The local-part "Postmaster" has been reserved, so that users  can
  1965.      be guaranteed at least one valid address at a site.
  1966.  
  1967.  
  1968.      K.  ALPHABETICAL LISTING OF SYNTAX RULES
  1969.  
  1970.      address     =  mailbox                      ; one addressee
  1971.                  /  group                        ; named list
  1972.  
  1973.      addr-spec   =  local-part "@" domain        ; global address
  1974.  
  1975.      ALPHA       =  <any ASCII alphabetic character>
  1976.                                                  ; (101-132, 65.- 90.)
  1977.                                                  ; (141-172, 97.-122.)
  1978.  
  1979.      atom        =  1*<any CHAR except specials, SPACE and CTLs>
  1980.  
  1981.      authentic   =   "From"       ":"   mailbox  ; Single author
  1982.                  / ( "Sender"     ":"   mailbox  ; Actual submittor
  1983.                      "From"       ":" 1#mailbox) ; Multiple authors
  1984.                                                  ;  or not sender
  1985.  
  1986.      CHAR        =  <any ASCII character>        ; (  0-177,  0.-127.)
  1987.  
  1988.      comment     =  "(" *(ctext / quoted-pair / comment) ")"
  1989.  
  1990.      CR          =  <ASCII CR, carriage return>  ; (     15,      13.)
  1991.  
  1992.      CRLF        =  CR LF
  1993.  
  1994.      ctext       =  <any CHAR excluding "(",     ; => may be folded
  1995.                      ")", "\" & CR, & including
  1996.                      linear-white-space>
  1997.  
  1998.      CTL         =  <any ASCII control           ; (  0- 37,  0.- 31.)
  1999.                      character and DEL>          ; (    177,     127.)
  2000.  
  2001.      date        =  1*2DIGIT month 2DIGIT        ; day month year
  2002.                                                  ;  e.g. 20 Jun 82
  2003.  
  2004.      dates       =   orig-date                   ; Original
  2005.                    [ resent-date ]               ; Forwarded
  2006.  
  2007.      date-time   =  [ day "," ] date time        ; dd mm yy
  2008.                                                  ;  hh:mm:ss zzz
  2009.  
  2010.      day         =  "Mon"  / "Tue" /  "Wed"  / "Thu"
  2011.                  /  "Fri"  / "Sat" /  "Sun"
  2012.  
  2013.      delimiters  =  specials / linear-white-space / comment
  2014.  
  2015.      destination =  "To"          ":" 1#address  ; Primary
  2016.                  /  "Resent-To"   ":" 1#address
  2017.                  /  "cc"          ":" 1#address  ; Secondary
  2018.                  /  "Resent-cc"   ":" 1#address
  2019.                  /  "bcc"         ":"  #address  ; Blind carbon
  2020.                  /  "Resent-bcc"  ":"  #address
  2021.  
  2022.      DIGIT       =  <any ASCII decimal digit>    ; ( 60- 71, 48.- 57.)
  2023.  
  2024.      domain      =  sub-domain *("." sub-domain)
  2025.  
  2026.      domain-literal =  "[" *(dtext / quoted-pair) "]"
  2027.  
  2028.      domain-ref  =  atom                         ; symbolic reference
  2029.  
  2030.      dtext       =  <any CHAR excluding "[",     ; => may be folded
  2031.                      "]", "\" & CR, & including
  2032.                      linear-white-space>
  2033.  
  2034.      extension-field =
  2035.                    <Any field which is defined in a document
  2036.                     published as a formal extension to this
  2037.                     specification; none will have names beginning
  2038.                     with the string "X-">
  2039.  
  2040.      field       =  field-name ":" [ field-body ] CRLF
  2041.  
  2042.      fields      =    dates                      ; Creation time,
  2043.                       source                     ;  author id & one
  2044.                     1*destination                ;  address required
  2045.                      *optional-field             ;  others optional
  2046.  
  2047.      field-body  =  field-body-contents
  2048.                     [CRLF LWSP-char field-body]
  2049.  
  2050.      field-body-contents =
  2051.                    <the ASCII characters making up the field-body, as
  2052.                     defined in the following sections, and consisting
  2053.                     of combinations of atom, quoted-string, and
  2054.                     specials tokens, or else consisting of texts>
  2055.  
  2056.      field-name  =  1*<any CHAR, excluding CTLs, SPACE, and ":">
  2057.  
  2058.      group       =  phrase ":" [#mailbox] ";"
  2059.  
  2060.      hour        =  2DIGIT ":" 2DIGIT [":" 2DIGIT]
  2061.                                                  ; 00:00:00 - 23:59:59
  2062.  
  2063.      HTAB        =  <ASCII HT, horizontal-tab>   ; (     11,       9.)
  2064.  
  2065.      LF          =  <ASCII LF, linefeed>         ; (     12,      10.)
  2066.  
  2067.      linear-white-space =  1*([CRLF] LWSP-char)  ; semantics = SPACE
  2068.                                                  ; CRLF => folding
  2069.  
  2070.      local-part  =  word *("." word)             ; uninterpreted
  2071.                                                  ; case-preserved
  2072.  
  2073.      LWSP-char   =  SPACE / HTAB                 ; semantics = SPACE
  2074.  
  2075.      mailbox     =  addr-spec                    ; simple address
  2076.                  /  phrase route-addr            ; name & addr-spec
  2077.  
  2078.      message     =  fields *( CRLF *text )       ; Everything after
  2079.                                                  ;  first null line
  2080.                                                  ;  is message body
  2081.  
  2082.      month       =  "Jan"  /  "Feb" /  "Mar"  /  "Apr"
  2083.                  /  "May"  /  "Jun" /  "Jul"  /  "Aug"
  2084.                  /  "Sep"  /  "Oct" /  "Nov"  /  "Dec"
  2085.  
  2086.      msg-id      =  "<" addr-spec ">"            ; Unique message id
  2087.  
  2088.      optional-field =
  2089.                  /  "Message-ID"        ":"   msg-id
  2090.                  /  "Resent-Message-ID" ":"   msg-id
  2091.                  /  "In-Reply-To"       ":"  *(phrase / msg-id)
  2092.                  /  "References"        ":"  *(phrase / msg-id)
  2093.                  /  "Keywords"          ":"  #phrase
  2094.                  /  "Subject"           ":"  *text
  2095.                  /  "Comments"          ":"  *text
  2096.                  /  "Encrypted"         ":" 1#2word
  2097.                  /  extension-field              ; To be defined
  2098.                  /  user-defined-field           ; May be pre-empted
  2099.  
  2100.      orig-date   =  "Date"        ":"   date-time
  2101.  
  2102.      originator  =   authentic                   ; authenticated addr
  2103.                    [ "Reply-To"   ":" 1#address] )
  2104.  
  2105.      phrase      =  1*word                       ; Sequence of words
  2106.  
  2107.      qtext       =  <any CHAR excepting <">,     ; => may be folded
  2108.                      "\" & CR, and including
  2109.                      linear-white-space>
  2110.  
  2111.      quoted-pair =  "\" CHAR                     ; may quote any char
  2112.  
  2113.      quoted-string = <"> *(qtext/quoted-pair) <">; Regular qtext or
  2114.                                                  ;   quoted chars.
  2115.  
  2116.      received    =  "Received"    ":"            ; one per relay
  2117.                        ["from" domain]           ; sending host
  2118.                        ["by"   domain]           ; receiving host
  2119.                        ["via"  atom]             ; physical path
  2120.                       *("with" atom)             ; link/mail protocol
  2121.                        ["id"   msg-id]           ; receiver msg id
  2122.                        ["for"  addr-spec]        ; initial form
  2123.                         ";"    date-time         ; time received
  2124.  
  2125.      resent      =   resent-authentic
  2126.                    [ "Resent-Reply-To"  ":" 1#address] )
  2127.  
  2128.      resent-authentic =
  2129.                  =   "Resent-From"      ":"   mailbox
  2130.                  / ( "Resent-Sender"    ":"   mailbox
  2131.                      "Resent-From"      ":" 1#mailbox  )
  2132.  
  2133.      resent-date =  "Resent-Date" ":"   date-time
  2134.  
  2135.      return      =  "Return-path" ":" route-addr ; return address
  2136.  
  2137.      route       =  1#("@" domain) ":"           ; path-relative
  2138.  
  2139.      route-addr  =  "<" [route] addr-spec ">"
  2140.  
  2141.      source      = [  trace ]                    ; net traversals
  2142.                       originator                 ; original mail
  2143.                    [  resent ]                   ; forwarded
  2144.  
  2145.      SPACE       =  <ASCII SP, space>            ; (     40,      32.)
  2146.  
  2147.      specials    =  "(" / ")" / "<" / ">" / "@"  ; Must be in quoted-
  2148.                  /  "," / ";" / ":" / "\" / <">  ;  string, to use
  2149.                  /  "." / "[" / "]"              ;  within a word.
  2150.  
  2151.      sub-domain  =  domain-ref / domain-literal
  2152.  
  2153.      text        =  <any CHAR, including bare    ; => atoms, specials,
  2154.                      CR & bare LF, but NOT       ;  comments and
  2155.                      including CRLF>             ;  quoted-strings are
  2156.                                                  ;  NOT recognized.
  2157.  
  2158.      time        =  hour zone                    ; ANSI and Military
  2159.  
  2160.      trace       =    return                     ; path to sender
  2161.                     1*received                   ; receipt tags
  2162.  
  2163.      user-defined-field =
  2164.                    <Any field which has not been defined
  2165.                     in this specification or published as an
  2166.                     extension to this specification; names for
  2167.                     such fields must be unique and may be
  2168.                     pre-empted by published extensions>
  2169.  
  2170.      word        =  atom / quoted-string
  2171.  
  2172.      zone        =  "UT"  / "GMT"                ; Universal Time
  2173.                                                  ; North American : UT
  2174.                  /  "EST" / "EDT"                ;  Eastern:  - 5/ - 4
  2175.                  /  "CST" / "CDT"                ;  Central:  - 6/ - 5
  2176.                  /  "MST" / "MDT"                ;  Mountain: - 7/ - 6
  2177.                  /  "PST" / "PDT"                ;  Pacific:  - 8/ - 7
  2178.                  /  1ALPHA                       ; Military: Z = UT;
  2179.  
  2180.      <">         =  <ASCII quote mark>           ; (     42,      34.)
  2181.